package com.yunxi.service.localService.sys;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.service.IServicePlus;
import com.yunxi.model.sys.Org;
import com.yunxi.sys.pojo.OrgListVO;
import com.yunxi.sys.pojo.OrgVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 组织结构 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-08
 */
public interface OrgService extends IServicePlus<Org> {

     Object findTreeListBySysType(String org_type) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;

     Object treeByPid(String pid) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException ;

     PageInfo findPageByVO(OrgVO orgVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

     List<OrgListVO> getOrgList();
}
